# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nemo-qml-plugin-alarms
pkgver=0.3.10
pkgrel=1
pkgdesc="Nemo QML alarms plugin"
url="https://github.com/sailfishos/nemo-qml-plugin-alarms"
arch="all"
license="BSD-3-Clause"
makedepends="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	timed-dev
	"
source="https://github.com/sailfishos/nemo-qml-plugin-alarms/archive/$pkgver/nemo-qml-plugin-alarms-$pkgver.tar.gz"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove installed tests
	rm -r "$pkgdir"/opt
}

sha512sums="
0c062e525ab3ce8171ec9c877fba85b9c56222953f0890267817382409ada55f57852efd70f07011e3c90f4df9ce217fe6bb50b84fc8b2c2a2858e8fde2abeb2  nemo-qml-plugin-alarms-0.3.10.tar.gz
"
